/**
 * 
 */
package com.lvan.bean;

import java.util.Date;

import org.codehaus.jackson.map.annotate.JsonSerialize;
import org.springframework.format.annotation.DateTimeFormat;

import com.lvan.util.CustomTimeSerializer;
import com.lvan.util.DateUtil;

/**
 * @author Stern He<br>
 * 2013-9-24<br>
 * @version 1.0.0.0 
 */
public class Log extends AdvanceEntity {
	private static final long serialVersionUID = 4489901023641772471L;
	private int logId;
    private String logType;
    private String logName;
    @DateTimeFormat(pattern=DateUtil.DATAFORMAT_ALL)
    private Date logTime;
    private String logIp;
    private String logOp;
    public int getLogId() {
        return logId;
    }
    public void setLogId(int logId) {
        this.logId = logId;
    }
    public String getLogType() {
        return logType;
    }
    public void setLogType(String logType) {
        this.logType = logType;
    }
    public String getLogName() {
        return logName;
    }
    public void setLogName(String logName) {
        this.logName = logName;
    }
    @JsonSerialize(using = CustomTimeSerializer.class)
    public Date getLogTime() {
        return logTime;
    }
    public void setLogTime(Date logTime) {
        this.logTime = logTime;
    }
    public String getLogIp() {
        return logIp;
    }
    public void setLogIp(String logIp) {
        this.logIp = logIp;
    }
    public String getLogOp() {
        return logOp;
    }
    public void setLogOp(String logOp) {
        this.logOp = logOp;
    }
    
}
